package com.whfc.wxmp.api.fmam.service.impl;

import com.whfc.common.result.PageData;
import com.whfc.fmam.entity.dto.FmamMatDTO;
import com.whfc.fmam.service.FmamMatService;
import com.whfc.wxmp.api.fmam.service.WxFmamMatService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * @Description:
 * @author: qzexing
 * @version: 1.0
 * @date: 2020/4/23 21:42
 */
@Service
public class WxFmamMatServiceImpl implements WxFmamMatService {

    private Logger logger = LoggerFactory.getLogger(this.getClass());

    @DubboReference(interfaceClass = FmamMatService.class, version = "1.0.0")
    private FmamMatService fmamMatService;


    @Override
    public PageData<FmamMatDTO> matList(Integer deptId, Integer pageNum, Integer pageSize, String keyword) {
        return fmamMatService.matList(deptId, pageNum, pageSize, keyword);
    }
}
